<?php
function return_array($flag = true, $module){
	
	$nodes = array(
		
		"Index"=>array(
			'log'       =>array("zh-cn"=>"日志列表","zh-tw"=>"日志列表","en-us"=>"Log List"),
			'dellog'    =>array("zh-cn"=>"删除日志","zh-tw"=>"删除日志","en-us"=>"Delete Log"),
			'index'     =>array("zh-cn"=>"后台首页 ","zh-tw"=>"后台首页","en-us"=>"Index"),
			'cleancache'=>array("zh-cn"=>"清除缓存","zh-tw"=>"清除缓存","en-us"=>"Clean Cache"),
			'config'    =>array("zh-cn"=>"系统设置","zh-tw"=>"系统设置","en-us"=>"Setup Config"),
		 ),
		
		"Custom"=>array(
			'index'     =>array("zh-cn"=>"会员列表","zh-tw"=>"会员列表","en-us"=>"Custom List"),
			'add'       =>array("zh-cn"=>"添加会员","zh-tw"=>"添加会员","en-us"=>"Add  Custom"),
			'del'       =>array("zh-cn"=>"删除会员","zh-tw"=>"删除会员","en-us"=>"Del  Custom"),
			'edit'      =>array("zh-cn"=>"修改会员","zh-tw"=>"修改会员","en-us"=>"Edit Custom"),
		),
	);
	
	if($flag){
		
		return $nodes[$module];
	}else{
		
		foreach($nodes as $k => $v){
			$rows[] = $k;
		}
		return $rows;
	}
	
	
}
